#ifndef D_LIGHT_H
#define D_LIGHT_H

#include <GL/gl.h>

class d_Light
{
public:
	d_Light(GLint light){light_gl = light;}
	void setPosition(double x, double y, double z, double a);
	void setAmbient(double r, double g, double b, double a);
	void setDiffuse(double r, double g, double b, double a);
	void setSpecular(double r, double g, double b, double a);
	void applyProperties();
private:
	GLint light_gl;
	float pos[4];
	float ambient[4];
	float diffuse[4];
	float specular[4];
};

#endif

